/*
 * Copyright (c) 2017. 深圳一七科技. All rights reserved.
 */

package com.yiqi.liebang.feature.home.contract;

import com.baiiu.filter.ClassifyBo;
import com.suozhang.framework.entity.bo.UserInfoBo;
import com.suozhang.framework.framework.BasePresenter;
import com.suozhang.framework.framework.BaseView;
import com.yiqi.liebang.entity.bo.ExpertBo;
import com.yiqi.liebang.entity.bo.PeopleBo;
import com.yiqi.liebang.entity.bo.SearchFriendBo;

import java.util.List;

import io.reactivex.Observable;

/**
 * LIJUWEN
 *
 * @email yiyayiyayaoljw@gmail.com
 * @date 2018/7/11 9:06
 */
public interface ClassifyContract {
    interface Model {
        Observable<List<ClassifyBo>> getClassifyData();
        Observable<List<SearchFriendBo.UserFriendBean>> getClassifyExpert(ClassifyBo classifyBo);
        Observable<String> getUserLabelByType(PeopleBo peopleBo);
        Observable<List<ClassifyBo>> getQuestionClassify();
    }

    interface View extends BaseView {
        void showUserSuccess(String classifyBos);
        void showUserError(String classifyBos);
        void showSuccess(List<ClassifyBo> classifyBos);
        void showExpert(List<SearchFriendBo.UserFriendBean> classifyBos);
        void showEmpty();
        void showError(String ex);

    }


    interface Presenter extends BasePresenter {
        void getClassifyData();
        void getClassifyExpert(String classifyId,int pageNow,int pageSize);
        void getUserLabelByType(String useruid);
        void getQuestionClassify();
    }
}
